<?php
include '../help/Check.php';

use help\Check;

$idCard = 'M373219(9)';
$type = 2;
$checkObject = new Check();
$check = $checkObject::checkIdCard($idCard, $type);
if ($check) {
	echo '正确';
} else {
	echo '错误';
}

$idCard = 'S173951832';
$type = 4;
$check = $checkObject::checkIdCard($idCard, $type);
if ($check) {
	echo '台湾身份证正确';
} else {
	echo '台湾身份证错误';
}
